package service;

import mapper.UserMapper;
import model.UserInfo;

/**
 * service 业务层 处理业务逻辑
 */
public class UserService {


    /**
     * 处理登录
     * @param userName
     * @param password
     * @return
     */
    public boolean Login(String userName,String password){

        //写登录业务逻辑


        //调用持久
        UserMapper userMapper =new UserMapper();
        UserInfo userInfo = userMapper.queryByUserName(userName);


        return true;
    }
}
